﻿using System;
using System.Collections.Generic;
using System.Text;
using Validate.Library;

namespace Project.Model
{
    /// <summary>
    /// 工资查询请求实体
    /// </summary>
    public class SalaryQueryRequest
    {
        /// <summary>
        /// 工程项目
        /// </summary>
        public string ProjectNo
        {
            get; set;
        }

        ///// <summary>
        ///// 工种班组
        ///// </summary>
        //public int WorkType
        //{
        //    get; set;
        //}

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string Name
        {
            get; set;
        }

        /// <summary>
        /// 员工拼音
        /// </summary>
        public string PYM
        {
            get; set;
        }

        /// <summary>
        /// 类别 1日薪 2月薪
        /// </summary>
        public int? MID
        {
            get; set;
        }


        /// <summary>
        /// 开始时间
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.DateTime, Description = "开始时间")]
        public DateTime dBeginTime
        {
            get; set;
        }

        /// <summary>
        /// 结束时间
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.DateTime, Description = "结束时间")]
        public DateTime dEndTime
        {
            get; set;
        }

    }
}
